package com.kuang.service;

import com.kuang.pojo.Readers;
import com.kuang.pojo.Users;
import org.apache.ibatis.annotations.Param;

import javax.naming.Name;
import java.util.List;

public interface UserService {
   Boolean queryNP(@Param("Name") String Name, @Param("Pass") String b);

   Boolean updatepass(@Param("Name")String userName,@Param("old") String old,@Param("now") String now);

   Boolean insertpass(@Param("Name")String userName,@Param("Pass") String pass);


    List<Users> alluser();

    int deleteById(int id);
}
